package com.yaoxuguang.concurrence.reentrantlock.lock_unlock;

/**
 * @author yaoxuguang
 * @Title: yao-interview
 * @Package com.yaoxuguang.concurrence.reentrantlock
 * @Description: ReentrantLock实现同步
 * @date 2018年12月24日15:35
 */
public class MyThread extends Thread{
    private MyServer server;

    public MyThread(MyServer server) {
        this.server = server;
    }

    @Override
    public void run() {
        server.testMethod();
    }
}
